package myhibernate;

import java.util.HashSet;
import java.util.Set;

/**
 * TBuilding entity. @author MyEclipse Persistence Tools
 */

public class TBuilding implements java.io.Serializable {

	// Fields

	private Integer buildingId;
	private String buildingName;
	private Set TResidents = new HashSet(0);

	// Constructors

	/** default constructor */
	public TBuilding() {
	}

	/** full constructor */
	public TBuilding(String buildingName, Set TResidents) {
		this.buildingName = buildingName;
		this.TResidents = TResidents;
	}

	// Property accessors

	public Integer getBuildingId() {
		return this.buildingId;
	}

	public void setBuildingId(Integer buildingId) {
		this.buildingId = buildingId;
	}

	public String getBuildingName() {
		return this.buildingName;
	}

	public void setBuildingName(String buildingName) {
		this.buildingName = buildingName;
	}

	public Set getTResidents() {
		return this.TResidents;
	}

	public void setTResidents(Set TResidents) {
		this.TResidents = TResidents;
	}

}